//
//  LMView.m
//  WelfareManager
//
//  Created by longmin on 17/5/18.
//  Copyright © 2017年 timtian. All rights reserved.
//

#import "LMView.h"
#import "AppDelegate.h"

@implementation LMView

- (instancetype)init
{
    self = [super init];
    if (self) {
        
        [self lm_addSubviews];
        [self lm_bindViewModel];
    }
    return self;
}

- (instancetype)initWithViewModel:(id<LMViewProtocol>)viewModel {
    
    self = [super init];
    if (self) {
        [self lm_addSubviews];
        [self lm_bindViewModel];
    }
    return self;
}

- (void)lm_addSubviews {}
- (void)lm_bindViewModel {}
- (void)lm_layoutSubviews{}
- (void)lm_updateConstraints{}

- (void)updateConstraints {
    [super updateConstraints];
    [self lm_updateConstraints];
}

- (void)layoutSubviews {
    [super layoutSubviews];
    [self lm_layoutSubviews];
}

@end
